export default {
    appenders: {
        out: { type: 'console' },
        task: { type: 'dateFile', filename: 'logs/task', "pattern": "-yyyy-MM-dd.log", alwaysIncludePattern: true },
        result: { type: 'dateFile', filename: 'logs/result', "pattern": "-yyyy-MM-dd.log", alwaysIncludePattern: true },
        error: { type: 'dateFile', filename: 'logs/error', "pattern": "-yyyy-MM-dd.log", alwaysIncludePattern: true },
        default: { type: 'dateFile', filename: 'logs/default', "pattern": "-yyyy-MM-dd.log", alwaysIncludePattern: true },
        rate: { type: 'dateFile', filename: 'logs/rate', "pattern": "-yyyy-MM-dd.log", alwaysIncludePattern: true }
    },
    categories: {
        default: { appenders: ['out', 'default'], level: 'info' },
        task: { appenders: ['task'], level: 'info' },
        result: { appenders: ['result'], level: 'info' },
        error: { appenders: ['error'], level: 'error' },     
        rate: { appenders: ['rate'], level: 'info' }    
    }
    // appenders: [{
    //         category: 'log_date',
    //         type: 'dateFile',  
    //         filename: './temp/logs/log_date/log_date',
    //         alwaysIncludePattern: true,
    //         pattern: '-yyyy-MM-dd.log'

    //     },
    //     {
    //         type: 'console',
    //         category: 'console'
    //     }
    // ],
    // replaceConsole: true,
    // levels: {
    //     console: 'ALL',
    //     log_date: 'ALL'
    // }
}